<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wwwApp: DB Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">wwwApp
   </div>
   <div id="projectbrief">A web app for workshop organizing, recruitment and qualification</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">DB Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for DB:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classDB.png" usemap="#DB_map" alt=""/>
  <map id="DB_map" name="DB_map">
<area href="classDB__SQL.html" alt="DB_SQL" shape="rect" coords="0,56,104,80"/>
<area href="classDB__PostgreSQL.html" alt="DB_PostgreSQL" shape="rect" coords="0,112,104,136"/>
</map>
 </div></div>

<p><a href="classDB-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a031c0b13b6803f486c377a4c98774f4d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a031c0b13b6803f486c377a4c98774f4d">connect</a> ($connectionString)</td></tr>
<tr class="memitem:a73cdc78a3b878af16d7163bfb01f4d2c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a73cdc78a3b878af16d7163bfb01f4d2c">last_error</a> ()</td></tr>
<tr class="memitem:af448d1613ece8e2da7aec313e034dda6"><td class="memItemLeft" align="right" valign="top">&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#af448d1613ece8e2da7aec313e034dda6">__get</a> ($name)</td></tr>
<tr class="memitem:abd238125cc5e22cc83461af76e535db5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#abd238125cc5e22cc83461af76e535db5">__call</a> ($name, $args)</td></tr>
<tr class="memitem:a27e743626280f0e9cba228a8d9343d3d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a27e743626280f0e9cba228a8d9343d3d">num_rows</a> ()</td></tr>
<tr class="memitem:a946b17452055bacf43cae40100565566"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a946b17452055bacf43cae40100565566">affected_rows</a> ()</td></tr>
<tr class="memitem:ae314c1807aa636e83084e7f776df8ca5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#ae314c1807aa636e83084e7f776df8ca5">fetch</a> ()</td></tr>
<tr class="memitem:ace53342d5a272275e9a95b151511d179"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#ace53342d5a272275e9a95b151511d179">fetch_assoc</a> ($n=null)</td></tr>
<tr class="memitem:a24e5e9e3745e28578179ab3a6169b80c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a24e5e9e3745e28578179ab3a6169b80c">fetch_all</a> ()</td></tr>
<tr class="memitem:a2284276ef8e3be156cd57d6be193ff4c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a2284276ef8e3be156cd57d6be193ff4c">fetch_column</a> ($c=null)</td></tr>
<tr class="memitem:a0ea6b9f5f21f19ae1e6f334b86c37e67"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a0ea6b9f5f21f19ae1e6f334b86c37e67">fetch_int</a> ()</td></tr>
<tr class="memitem:a8e61ac6b0aceea9beed7e06b867fbf6d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a8e61ac6b0aceea9beed7e06b867fbf6d">fetch_vector</a> ()</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aebc4d944d05977ab3fc55d910bec39a4"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#aebc4d944d05977ab3fc55d910bec39a4">create</a> ($driver, $connectionString)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab6ce44bdfbaf5904efd9597447543782"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#ab6ce44bdfbaf5904efd9597447543782">$lastResult</a> = null</td></tr>
<tr class="memitem:a818dededd3464b586037fde8ef953c91"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a818dededd3464b586037fde8ef953c91">$driver</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aaf7049cc36effb73ddfbc2636667d02c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#aaf7049cc36effb73ddfbc2636667d02c">__construct</a> ($connectionString)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a75d8342d237a97b7822d691aa5a2546c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDB.html#a75d8342d237a97b7822d691aa5a2546c">$tables</a> = array()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="db_8php_source.html#l00006">6</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aaf7049cc36effb73ddfbc2636667d02c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DB::__construct </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$connectionString</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="classDB__PostgreSQL.html#a9c143e75ac1ba2332e3c36f5eff134ee">DB_PostgreSQL</a>.</p>

<p>Definition at line <a class="el" href="db_8php_source.html#l00020">20</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                <span class="keywordflow">if</span> (!$this-&gt;<a class="code" href="classDB.html#a031c0b13b6803f486c377a4c98774f4d">connect</a>($connectionString))</div>
<div class="line">                        <span class="keywordflow">throw</span> <span class="keyword">new</span> <a class="code" href="classKnownException.html">KnownException</a>(_(<span class="stringliteral">&#39;Could not connect to database.&#39;</span>). <span class="stringliteral">&#39;&lt;br/&gt;</span></div>
<div class="line"><span class="stringliteral">                        &lt;pre&gt;&#39;</span>. $this-&gt;<a class="code" href="classDB.html#a73cdc78a3b878af16d7163bfb01f4d2c">last_error</a>() .<span class="stringliteral">&#39;&lt;/pre&gt;&#39;</span>);</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="abd238125cc5e22cc83461af76e535db5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::__call </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00042">42</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                        <span class="keywordflow">return</span> $this-&gt;{$name}-&gt;offsetGet($args);</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="af448d1613ece8e2da7aec313e034dda6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; DB::__get </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00031">31</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                $table = <a class="code" href="config_8php_8template.html#a5f2257735345fb41d6dbb3f7a9036a4b">TABLE_PREFIX</a> . $name;</div>
<div class="line">                <span class="keywordflow">if</span> (isset($this-&gt;tables[$table]) &amp;&amp; is_object($this-&gt;tables[$table]))</div>
<div class="line">                        <span class="keywordflow">return</span> $this-&gt;tables[$table];</div>
<div class="line">                <span class="keywordflow">else</span></div>
<div class="line">                        <span class="keywordflow">throw</span> <span class="keyword">new</span> <a class="code" href="classKnownException.html">KnownException</a>(sprintf(_(<span class="stringliteral">&#39;Undefined database table &lt;i&gt;%s&lt;/i&gt; (prefix is &lt;i&gt;%s&lt;/i&gt;).&#39;</span>), $name, <a class="code" href="config_8php_8template.html#a5f2257735345fb41d6dbb3f7a9036a4b">TABLE_PREFIX</a>));</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a946b17452055bacf43cae40100565566"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::affected_rows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00048">48</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> $this-&gt;lastResult-&gt;affected_rows(); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a031c0b13b6803f486c377a4c98774f4d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DB::connect </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$connectionString</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="classDB__PostgreSQL.html#a35c72d161281997ab74e7d2db24e3b4e">DB_PostgreSQL</a>.</p>

<p>Referenced by <a class="el" href="db_8php_source.html#l00020">__construct()</a>.</p>

</div>
</div>
<a class="anchor" id="aebc4d944d05977ab3fc55d910bec39a4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static DB::create </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$driver</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$connectionString</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00012">12</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
<div class="fragment"><div class="line">        {</div>
<div class="line">                require_once(strtolower(<a class="code" href="classDB.html#a818dededd3464b586037fde8ef953c91">$driver</a>) .<span class="stringliteral">&#39;.php&#39;</span>);</div>
<div class="line">                $className = <span class="stringliteral">&quot;DB_$driver&quot;</span>;</div>
<div class="line">                <a class="code" href="common_8php.html#a7dc56dc8b18ad37272b56fa7395bedef">$DB</a> = <span class="keyword">new</span> $className($connectionString);</div>
<div class="line">                <span class="keywordflow">return</span> <a class="code" href="common_8php.html#a7dc56dc8b18ad37272b56fa7395bedef">$DB</a>;</div>
<div class="line">        }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ae314c1807aa636e83084e7f776df8ca5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::fetch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00049">49</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>

<p>Referenced by <a class="el" href="sql_8php_source.html#l00098">DBRow_SQL\count()</a>, and <a class="el" href="postgresql_8php_source.html#l00058">DBTable_PostgreSQL\lastValue()</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> $this-&gt;lastResult-&gt;fetch(); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a24e5e9e3745e28578179ab3a6169b80c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::fetch_all </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00051">51</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>

<p>Referenced by <a class="el" href="postgresql_8php_source.html#l00010">DB_PostgreSQL\__construct()</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> $this-&gt;lastResult-&gt;fetch_all(); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ace53342d5a272275e9a95b151511d179"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::fetch_assoc </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$n</em> = <code>null</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00050">50</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>

<p>Referenced by <a class="el" href="sql_8php_source.html#l00074">DBRow_SQL\assoc()</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> $this-&gt;lastResult-&gt;fetch_assoc($n); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a2284276ef8e3be156cd57d6be193ff4c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::fetch_column </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$c</em> = <code>null</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00052">52</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> $this-&gt;lastResult-&gt;fetch_column($c); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a0ea6b9f5f21f19ae1e6f334b86c37e67"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::fetch_int </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00053">53</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> $this-&gt;lastResult-&gt;fetch_int(); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a8e61ac6b0aceea9beed7e06b867fbf6d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::fetch_vector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00054">54</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> $this-&gt;lastResult-&gt;fetch_vector(); }</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a73cdc78a3b878af16d7163bfb01f4d2c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DB::last_error </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="classDB__PostgreSQL.html#aca232dd63294f547b04b1da589c065ae">DB_PostgreSQL</a>.</p>

<p>Referenced by <a class="el" href="db_8php_source.html#l00020">__construct()</a>, and <a class="el" href="sql_8php_source.html#l00011">DB_SQL\query()</a>.</p>

</div>
</div>
<a class="anchor" id="a27e743626280f0e9cba228a8d9343d3d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::num_rows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00047">47</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>
<div class="fragment"><div class="line">{ <span class="keywordflow">return</span> $this-&gt;lastResult-&gt;count(); }</div>
</div><!-- fragment -->
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a818dededd3464b586037fde8ef953c91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::$driver</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00009">9</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>

<p>Referenced by <a class="el" href="db_8php_source.html#l00012">create()</a>, and <a class="el" href="sql_8php_source.html#l00011">DB_SQL\query()</a>.</p>

</div>
</div>
<a class="anchor" id="ab6ce44bdfbaf5904efd9597447543782"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DB::$lastResult = null</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00008">8</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>

<p>Referenced by <a class="el" href="sql_8php_source.html#l00011">DB_SQL\query()</a>.</p>

</div>
</div>
<a class="anchor" id="a75d8342d237a97b7822d691aa5a2546c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DB::$tables = array()</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="db_8php_source.html#l00010">10</a> of file <a class="el" href="db_8php_source.html">db.php</a>.</p>

<p>Referenced by <a class="el" href="postgresql_8php_source.html#l00010">DB_PostgreSQL\__construct()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>database/<a class="el" href="db_8php_source.html">db.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Sep 8 2013 17:44:57 for wwwApp by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
